package com.example.commentserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CommentVO implements Serializable {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="用户id", example = "1")
    private String userId;
    @ApiModelProperty(value="用户名", example = "lychee")
    private String userName;
    @ApiModelProperty(value="用户头像地址", example = "url")
    private String photo;
    @ApiModelProperty(value="商品id", example = "1")
    private String goodsId;
    @ApiModelProperty(value="内容", example = "真不错")
    private String context;
    @ApiModelProperty(value="创建时间")
    private Date time;
}
